﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Error.aspx.cs" Inherits="ErrorHandling.Error" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        a, .errorUrl
        {
            color: #036aaf;
            text-decoration: none;
        }
        .errorUrl
        {
            display: block;
            margin-bottom: 0.8em;
            text-decoration: none;
        }
        .innercontent
        {
            margin-top: 0.8em;
        }
        .errorDetails
        {
            display: block;
            margin-left: 1em;
        }
        .errorFeedback
        {
            height: 8em;
            width: 70%;
        }
       
        
        form.tabContent
        {
            clear: both;
            overflow: hidden;
        }
        .tabContent .error
        {
            background-color: #ffefef;
            border: 2px solid #db5d52;
        }
    
    
     
        
        .tabContent p
        {
            margin: 0.2em 0;
        }
        
        .tabContent fieldset
        {
            border: 1px solid #e8e6de;
            margin: 0.5em 1em;
            padding-top: 1em;
            zoom: 1;
        }
        
        .tabContent fieldset legend
        {
            margin-left: 1em;
            font-size: 1.3em;
            padding: 0 0.5em;
            color: #807232;
        }
        
  
        
        .tabContent label
        {
            display: inline-block;
            margin-left: 1.5em; /*width:13em;*/
            text-align: right;
            padding-right: 0.5em;
            font-weight: bold;
        }
        
        .tabContent label.fixedWidth
        {
            display: inline-block;
            width: 5em;
            text-align: right;
            padding-right: 0.5em;
            font-weight: bold;
        }
        
        .tabContent .formGroup
        {
            margin-left: 1.5em; /*margin-left:13.4em;*/ /*position:relative;*/
            top: -1.3em;
        }
        .tabContent .formGroup p
        {
            margin: 0;
        }
        .tabContent .formGroup label
        {
            display: inline;
            width: auto;
            padding: 0;
            font-weight: normal;
        }
        
        .floatContentTotalWidth
        {
            float: left;
            width: 100%;
        }
        

    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="tabContent">
        <div class="floatContentTotalWidth">
            <asp:Panel ID="Panel1" runat="server" GroupingText="Error">
                <div class="innercontent">
                    <asp:Literal ID="Literal1" runat="server" Text="An error has occured, this has been automatically logged. If you wish, you can provide additional information on what you were doing when this error happened. This will help to resolve the issue faster." />
                    <asp:Panel ID="Panel2" runat="server" GroupingText="Error Details">
                        <div class="innercontent">
                            <asp:Label runat="server" ID="ErrorUrl" CssClass="errorUrl" />
                            <asp:Label runat="server" ID="ErrorDetails" CssClass="errorDetails" />
                        </div>
                    </asp:Panel>
                    <asp:Panel ID="Panel4" runat="server" GroupingText="Error stack trace">
                        Please include this Stack Trace in your error/bug communication. This helps us to
                        analyse the problem faster.
                        <div class="innercontent">
                            <p>
                                <asp:TextBox runat="server" ID="ErrorStackTrace" TextMode="MultiLine" CssClass="errorFeedback"
                                    ReadOnly="true" />
                            </p>
                            <p>
                                <asp:Panel ID="InnerExceptionPanel" runat="server" Visible="False">
                                    Inner Exception
                                    <asp:TextBox runat="server" ID="InnerErrorStackTrace" TextMode="MultiLine" CssClass="errorFeedback"
                                        ReadOnly="true" />
                                </asp:Panel>
                            </p>
                        </div>
                    </asp:Panel>
                </div>
            </asp:Panel>
        </div>
    </div>
    </form>
</body>
</html>
